package com.ztman.service.work.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ztman.basic.base.service.SuperService;
import com.ztman.service.work.dto.ProcessInfoPageQuery;
import com.ztman.service.work.dto.ProcessInfoSaveDTO;
import com.ztman.service.work.dto.ProcessInfoUpdateDTO;
import com.ztman.service.work.entity.ProcessInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 业务接口
 *
 * </p>
 *
 * @author wsd
 * @date 2021-08-23
 */
public interface ProcessInfoService extends SuperService<ProcessInfo> {

    IPage<ProcessInfoPageQuery> pageType(IPage<ProcessInfoPageQuery> page, @Param("query") ProcessInfoPageQuery model);

    boolean save(ProcessInfoSaveDTO saveDTO);
    boolean update(ProcessInfoUpdateDTO saveDTO);

    ProcessInfo getProcessInfoById(Long processId);
}
